package com.example.demo.pojo;

import java.util.Date;

public class User {
    private Integer usid;

    private String usname;

    private String uspass;

    private Date usaddtime;

    private Integer ustype;

    private String img;

    public User(Integer usid, String usname, String uspass, Date usaddtime, Integer ustype, String img) {
        this.usid = usid;
        this.usname = usname;
        this.uspass = uspass;
        this.usaddtime = usaddtime;
        this.ustype = ustype;
        this.img = img;
    }

    public User() {
        super();
    }

    public Integer getUsid() {
        return usid;
    }

    public void setUsid(Integer usid) {
        this.usid = usid;
    }

    public String getUsname() {
        return usname;
    }

    public void setUsname(String usname) {
        this.usname = usname == null ? null : usname.trim();
    }

    public String getUspass() {
        return uspass;
    }

    public void setUspass(String uspass) {
        this.uspass = uspass == null ? null : uspass.trim();
    }

    public Date getUsaddtime() {
        return usaddtime;
    }

    public void setUsaddtime(Date usaddtime) {
        this.usaddtime = usaddtime;
    }

    public Integer getUstype() {
        return ustype;
    }

    public void setUstype(Integer ustype) {
        this.ustype = ustype;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img == null ? null : img.trim();
    }
}